<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="row">
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('Dingdan_id')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-dingdan_id" data-rule="required" data-source="dingdan/index" class="form-control selectpage" name="row[dingdan_id]" type="text" value="{$row.dingdan_id|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('Chepai')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-chepai" class="form-control" name="row[chepai]" type="text" value="{$row.chepai|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('Checi')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-checi" class="form-control" name="row[checi]" type="text" value="{$row.checi|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('Start')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-start" class="form-control" name="row[start]" type="text" value="{$row.start|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('Tidizhi')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-tidizhi" class="form-control" name="row[tidizhi]" type="text" value="{$row.tidizhi|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('Desti')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-desti" class="form-control" name="row[desti]" type="text" value="{$row.desti|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('Xiedizhi')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-xiedizhi" class="form-control" name="row[xiedizhi]" type="text" value="{$row.xiedizhi|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('Huowu')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-huowu" class="form-control" name="row[huowu]" type="text" value="{$row.huowu|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('Zhouliang')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input  class="form-control" step="0.01" name="row[zhongliang]" type="number" value="{$row.zhongliang|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-4 ">
            <label class="control-label col-xs-12 col-sm-2">{:__('Daoshixian')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-daoshixian" class="form-control" name="row[daoshixian]" type="number" value="{$row.daoshixian|htmlentities}">
            </div>
        </div>

    </div>

    <div class="row">

        <div class="panel panel-default panel-intro">
            <div class="panel-heading">
                <ul id="myTab" class="nav nav-tabs">
                    <li class="active"><a href="#base" data-toggle="tab">派车信息</a></li>
            </div>

            <div class="panel-body">


                <div id="tb_dingjitable" class="toolbar">
                    {:build_toolbar('refresh,add,edit,del')}
                    <a href="javascript:;" class="btn btn-default" style="font-size:14px;color:dodgerblue;">
                        <i class="fa fa-dollar"></i>
                        <span class="extend">金额：<span id="money">0</span></span>
                    </a>
                </div>
                <table id="dingjitable" class="table table-striped table-bordered table-hover" width="100%">
                </table>





            </div>
        </div>
      </div>



    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
